package com.zhao.dao;

import com.zhao.pojo.Purchase;
import java.util.List;
import java.util.Map;

import com.zhao.vo.PurchaseVoOne;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PurchaseMapper {
    List<Purchase> selectAllPurchase();
    int addPurchase(PurchaseVoOne purchaseVoOne);
    Purchase selectPurchaseById(@Param("id") int id);
    int updatePurchase(PurchaseVoOne purchaseVoOne);
    int deletePurchase(@Param("id") int id);
}